package com.woniuxy.commons.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("SEATA-GOODS")
public interface FeignSeataGoodsService {
@GetMapping("/goods/update/{id}/{stock}")
    public int update(@PathVariable("id") int id,@PathVariable("stock") int stock);
}
